<template>
  <div>
    <iframe
      :src="src"
      style="width: 100%; height: calc(100vh - 60px)"
      frameborder="no"
    />
  </div>
</template>

<script lang="ts">
import { defineComponent, reactive, toRefs } from "vue";
export default defineComponent({
  name: "VetIframe",
  props: {
    src: {
      type: String,
      required: true,
    },
  },
  setup() {
    const state = reactive({});
    return {
      ...toRefs(state),
    };
  },
});
</script>

<style lang="scss" scoped>
</style>